package com.biwin.module.dict.api.vo;

import com.biwin.common.app.vo.BwBasicVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * TODO
 *
 * @author biwin
 * @since 0.0.1
 */
@ApiModel(value = "字典信息返回对象 - DictionaryVo",
        description = "字典信息的返回对象"
)
public class DictionaryVo extends BwBasicVo {

    private static final long serialVersionUID = 965041295804597806L;
    @ApiModelProperty("字典名称")
    private String name;

    @ApiModelProperty("字典类型")
    private String type;

    @ApiModelProperty("字典键值")
    private String code;

    @ApiModelProperty("字典描述")
    private String codeDesc;

    @ApiModelProperty("排序号")
    private Integer sort;

    @ApiModelProperty("启用状态 true-启用,false-禁用")
    private boolean enabled;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCodeDesc() {
        return codeDesc;
    }

    public void setCodeDesc(String codeDesc) {
        this.codeDesc = codeDesc;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }
}
